package com.xuliugen.rocketmq.springboot.starter.consumer;

import org.springframework.beans.factory.DisposableBean;
import org.springframework.beans.factory.InitializingBean;

/**
 * @author xuliugen
 */
public interface RocketMQListenerContainer extends InitializingBean, DisposableBean {

    /**
     * 用于在DefaultRocketMQListenerContainer中设置RocketMQListener对象
     */
    void setupMessageListener(RocketMQListener<?> messageListener);
}
